package com.yourwork.dao;

import java.util.List;

import org.springframework.data.domain.Pageable;

import com.yourwork.model.StaffManagement;
/**
 * 员工管理Dao
 * **/
public interface StaffManagementDao {
	//分页查询
	public List<StaffManagement> queryEmployeeManage(String status,Pageable pageable);
	//员工详细信息
	public List<StaffManagement> queryDetailed(int id);
	//添加员工
	public void insertEmployee(StaffManagement em);
	//修改员工
	public void updateEmployee(StaffManagement em);
	//员工总数
	public int countEmployee();
	//员工编号查询当条记录
	public StaffManagement queryNumber(String number);
	//员工分开查询
	public int countEmployee(String stasus);

}
